package com.landinfo.domain;

/**
 * Created by ziqilv on 2017/7/5.
 * 动态列
 */
public class FieldColumn {
    private String fieldName;
    private String fieldNameDatabase;
    private String frontType = "";
    private String fieldUnit = "";
    private String fieldType;
    private String fieldDomain;
    private Integer fieldLength;
    private Boolean required;
    private Integer fieldOrder;
    private Boolean show;

    /**
     * 字段名
     *
     * @return
     */
    public String getFieldName() {
        return fieldName;
    }

    /**
     * 字段名
     *
     * @param fieldName
     */
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    /**
     * 字段类型
     *
     * @return
     */
    public String getFieldType() {
        return fieldType;
    }

    /**
     * 字段类型
     *
     * @param fieldType
     */
    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    /**
     * 字段长度
     *
     * @return
     */
    public Integer getFieldLength() {
        return fieldLength;
    }

    /**
     * 字段长度
     *
     * @param fieldLength
     */
    public void setFieldLength(Integer fieldLength) {
        this.fieldLength = fieldLength;
    }


    /**
     * 前台展示方式
     *
     * @return
     */
    public String getFrontType() {
        return frontType;
    }

    /**
     * 前台展示方式
     *
     * @param frontType
     */
    public void setFrontType(String frontType) {
        this.frontType = frontType;
    }

    /**
     * 在数据库中对应的字段名
     *
     * @return
     */
    public String getFieldNameDatabase() {
        return fieldNameDatabase;
    }

    /**
     * 在数据库中对应的字段名
     *
     * @param fieldNameDatabase
     */
    public void setFieldNameDatabse(String fieldNameDatabase) {
        this.fieldNameDatabase = fieldNameDatabase;
    }

    public String getFieldDomain() {
        return fieldDomain;
    }

    public void setFieldDomain(String fieldDomain) {
        this.fieldDomain = fieldDomain;
    }


    public Boolean getRequired() {
        return required;
    }

    public void setRequired(Boolean required) {
        this.required = required;
    }

    public Integer getFieldOrder() {
        return fieldOrder;
    }

    public void setFieldOrder(Integer fieldOrder) {
        this.fieldOrder = fieldOrder;
    }

    public String getFieldUnit() {
        return fieldUnit;
    }

    public void setFieldUnit(String fieldUnit) {
        this.fieldUnit = fieldUnit;
    }

    public Boolean getShow() {
        return show;
    }

    public void setShow(Boolean show) {
        this.show = show;
    }
}
